Dera Sacha Sauda chief Ram Rahim granted bail in castration case