1. A method for performing operations within a webpage, the webpage residing on a server and being presented on a client, the method comprising the steps of: providing a main layout, said main layout at least substantially covering the webpage, providing at least one rendering element within the main layout, each rendering element being adapted to perform a function and/or an action, and at least one of the rendering element(s) being a rule rendering element, each rule rendering element including definitions of a rule relating to one or more functions and/or one or more actions of the webpage, including definition of a rule trigger, providing a rules engine comprising sets of conditions and actions relating to each of the rule rendering element(s), upon request from a client, providing the webpage, including the rendering element(s), from the server to the client, in the case that a rule trigger relating to at least one rule rendering element is detected, analysing the rule definitions of said rule rendering element, by means of the rules engine, and on the basis of the rule trigger and conditions defined in the rules engine, said analysis including evaluation of rule definitions of the rule rendering element, at least said evaluation taking place client-side, and the client performing one or more operations within the webpage on the basis of said evaluation.