When a command input, such as a mouse click by a user in a windows environment, indicates that an object from one application is to be dropped onto a window in which another application is running, the properties of the window and the attributes of the object are used to search a rule database to identify a rule which is applicable to these particular types of object and application.