Any Law in India first placed in the form of "the Bill". The Bill will move to Parliament (first in Lok Sabha and next in Rajya Sabha) / State Assembly. Once the Parliament / State Assembly passed then it will go to President for consent. Once the President (Governor in the case of State Government) passed and signed, it normally calls as "The Act". Each Act is assigned a chapter number and is published in the Gazette.
The Rules are the standard methods and procedures in relation to any provision contained in The Act. These rules are framed by the Authority to which the Act has given the powers (example: Ministry of Corporate Affairs in the case of The Companies Act 2013).
In case of any contradiction in Rules and the Act, then the provisions of the Act prevails and apply accordingly.